/**
 * 
 */
package uniandes.dermatologia.resources.models;

import java.util.Date;

import org.droidpersistence.annotation.Column;
import org.droidpersistence.annotation.ForeignKey;
import org.droidpersistence.annotation.PrimaryKey;
import org.droidpersistence.annotation.Table;

/**
 * @author Julio
 *
 */
@Table(name="ANAMNESIS")	
public class AnamnesisModel {
	
	@PrimaryKey(autoIncrement=true)
	@Column(name="ID")
	private long id;
	
	@Column(name="GENDER")
	private String gender;
	
	@Column(name="PHOTOTYPE")
	private String phototype;
	
	@Column(name = "AGE")
	private String age;
	
	@Column(name = "BIRTHDATE")
	private String birthdate;
	
	@Column(name = "CASE_ID")
	@ForeignKey(tableReference="MY_CASE", onDeleteCascade=true, columnReference="ID")
	private long case_id;
	
	@Column(name = "DATE_ADDED")
	private Date date_added;


	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the gender
	 */
	public String getGender() {
		return gender;
	}

	/**
	 * @param gender the gender to set
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}

	/**
	 * @return the phototype
	 */
	public String getPhototype() {
		return phototype;
	}

	/**
	 * @param phototype the phototype to set
	 */
	public void setPhototype(String phototype) {
		this.phototype = phototype;
	}

	/**
	 * @return the age
	 */
	public String getAge() {
		return age;
	}

	/**
	 * @param age the age to set
	 */
	public void setAge(String age) {
		this.age = age;
	}

	/**
	 * @return the birthdate
	 */
	public String getBirthdate() {
		return birthdate;
	}

	/**
	 * @param birthdate the birthdate to set
	 */
	public void setBirthdate(String birthdate) {
		this.birthdate = birthdate;
	}

	/**
	 * @return the case_id
	 */
	public long getCase_id() {
		return case_id;
	}

	/**
	 * @param case_id the case_id to set
	 */
	public void setCase_id(long case_id) {
		this.case_id = case_id;
	}

	/**
	 * @return the date_added
	 */
	public Date getDate_added() {
		return date_added;
	}

	/**
	 * @param date_added the date_added to set
	 */
	public void setDate_added(Date date_added) {
		this.date_added = date_added;
	}
	
	
}
